package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 游戏信息模块对象 game
 * 
 * @author ruoyi
 * @date 2024-12-11
 */
public class Game extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 游戏名称 */
    @Excel(name = "游戏名称")
    private String game;

    /** 排名 */
    @Excel(name = "排名")
    private Long rank;

    /** 游戏时长 */
    @Excel(name = "游戏时长")
    private String duration;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setGame(String game) 
    {
        this.game = game;
    }

    public String getGame() 
    {
        return game;
    }
    public void setRank(Long rank) 
    {
        this.rank = rank;
    }

    public Long getRank() 
    {
        return rank;
    }
    public void setDuration(String duration) 
    {
        this.duration = duration;
    }

    public String getDuration() 
    {
        return duration;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("game", getGame())
            .append("rank", getRank())
            .append("duration", getDuration())
            .toString();
    }
}
